home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6372 < prev    next >
Encoding:
Text File  |  1996-08-05  |  677 b   |  27 lines

  1. Newsgroups: comp.lang.c
  2. Path: usenet.eel.ufl.edu!warwick!spuddy!david
  3. From: david@spuddy.mew.co.uk (David Turner)
  4. Subject: Permutations
  5.  
  6. Message-ID: <Dn8yz9.GGy@spuddy.mew.co.uk>
  7. Organization: Spud's Public Usenet Domain
  8. Newsgroup: comp.lang.c
  9. Date: Fri, 23 Feb 1996 21:13:57 GMT
  10.  
  11. Does anyone know of an algorithm that works out the different purmutations
  12. of ordering a number of objects? Not calculating how many there are, but 
  13. actaully working out (quickly?) what they permutations are!
  14.  
  15.         eg. permutations of objects A, B and C:
  16.  
  17.                 A B C   B A C   C A B
  18.                 A C B   B C A   C B A
  19.  
  20. Any help would be greatly appreciated.
  21.  
  22. David
  23.  
  24.  
  25. -- 
  26.  
  27.